﻿using LightCAD.Core;
using LightCAD.Core.Elements;
using LightCAD.Runtime;
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace LightCAD.Runtime
{
    /// <summary>
    /// 元素活动的静态对象，用于渲染，避免新创建对象
    /// </summary>
    public static class ElementActions
    {
        public static ElementAction Line { get; set; }
        public static ElementAction Ellipse { get; set; }
        public static ElementAction Ray { get; set; }
        public static ElementAction XLine { get; set; }
        public static ElementAction Circle { get; set; }
        public static ElementAction Group { get; set; }
        public static ElementAction BlockRef { get; set; }
        public static ElementAction PolyLine { get; set; }
        public static ElementAction Arc { get; set; }

        public static ElementAction RoLine { get; set; }
        public static ElementAction DimDiametric { get; set; }

        public static ElementAction DimArcLenght { get; set; }

        public static ElementAction DimOrdinate { get; set; }
        public static ElementAction ComponentRef { get; set; }
        public static ElementAction DirectComponent { get; set; }
        public static ElementAction DimRotated { get; set; }
        public static ElementAction DimAligned { get; set; }
        public static ElementAction QLeader { get; set; }

        public static ElementAction DimRadial { get; set; }
    }
}
